package dao.impl;

import dao.NewsDao;
import entity.News;
import org.apache.log4j.Logger;

public class NewsDaoImpl implements NewsDao {
    private Logger logger=Logger.getLogger(NewsDaoImpl.class);
    @Override
    public int deleteByPrimaryKey(Integer nid) {
        return 0;
    }

    @Override
    public int insert(News record) {
        logger.debug("保存新闻信息到数据库");
        return 0;
    }

    @Override
    public int insertSelective(News record) {
        return 0;
    }

    @Override
    public News selectByPrimaryKey(Integer nid) {
        return null;
    }

    @Override
    public int updateByPrimaryKeySelective(News record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(News record) {
        return 0;
    }
}
